package pl.dmcs.grails.security

class SecurityRole {
    static final String USER_ROLE_NAME = "ROLE_DMCS_USER"
    static final String ADMIN_ROLE_NAME = "ROLE_DMCS_ADMIN"
    
    String authority

    static mapping = {
        cache true
    }

    static constraints = {
        authority blank: false, unique: true
    }
}
